package com.ocean.client.mapper;

import com.ocean.client.entity.UmsMember;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ocean.client.extension.security.core.UmsMemberDetails;
import org.apache.ibatis.annotations.Param;

/**
* 针对表【ums_member(客户端用户表)】的数据库操作Mapper

* @author zhang
* @since 2024-05-20 17:34:00
*/
public interface UmsMemberMapper extends BaseMapper<UmsMember> {

    /**
     * 根据账户名查询用户信息
     *
     * @param username 账户名
     * @return UmsMemberDetails
     */
    UmsMemberDetails selectUserByUsername(@Param("username") String username);
}




